<?php
class movie_review_reply
{
	var $id = '';
	var $rid = '';
	var $uid = '';
	var $face = '';
	var $user_addr = '';
	
	var $content = '';
	var $up_count = '';
	var $down_count = '';
	var $add_time = '';
	
	function __construct($item)
	{
		if(check_array($item))
		{
			$this->id = isset($item['id']) ? $item['id'] : '';
			$this->rid = isset($item['movie_review_id']) ? $item['movie_review_id'] : '';
			$this->uid = isset($item['user_id']) ? $item['user_id'] : '';
			$this->face = isset($item['face']) ? $item['face'] : '';
			$this->user_addr = isset($item['user_address']) ? $item['user_address'] : '';
			
			$this->content = isset($item['content']) ? $item['content'] : '';
			$this->up_count = isset($item['up_count']) ? $item['up_count'] : '';
			$this->down_count = isset($item['down_count']) ? $item['down_count'] : '';
			$this->add_time = isset($item['add_time']) ? date('m-d H:i', $item['add_time']) : '';
		}
	}
	
}